<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
<!--    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">-->
    <title>双计</title>
    <!-- Bootstrap -->
    <link href="/plugins/bootstrap-3.3.7-dist/css/bootstrap.css" rel="stylesheet">
    <link href="/plugins/datepicker/css/bootstrap-datepicker.css" rel="stylesheet">
    <link href="/plugins/bootstrap-select/css/bootstrap-select.css" rel="stylesheet">
    <link href="/plugins/bootstrap-table/bootstrap-table.css" rel="stylesheet">

    <style>
        .form-text {
            height: 34px;
            line-height: 34px;
        }
        .form-wrapper {
            padding: 12px 8px;
            background-color: #e4e4e4;
            margin-top: 8px;
        }
        .form-btn{
            background-color: #5cb85c;
            color: #ffffff;
            width: 100px;
        }
        .form-btn:hover {
            color: #fff;
        }
        .form-addincome{
            background-color:#cb2027;
            color: #ffffff;
            margin-left: 20px;
            width: 100px;
        }
        .form-addincome:hover {
            color: #fff;
        }
    </style>
</head>
<body>
<div class="container-fluid">
<!--    <h1>上传文件</h1>-->
<!--    <form method="post" enctype="multipart/form-data" id="uploadFileFrm" name="uploadFileFrm">-->
<!--        <div class="row">-->
<!--            <input type="file"  name="filename" id="filename"/>-->
<!--            <input type="button" onclick="uploadFileFun()" value="提交上传"/>-->
<!--        </div>-->
<!--    </form>-->
    <div class="form-wrapper">
        <form class="form-search">

            <div class="form-group col-sm-3">
                <label class="form-text">选择盟市：</label>
                <select id="citySelect" class="form-text" style="width:60%">
                    <option value="1">呼和浩特</option>
                    <option value="2">包头</option>
                    <option value="3">乌海</option>
                    <option value="4">阿拉善</option>
                </select>
            </div>
            <div class="form-group col-sm-3">
                <label class="form-text">选择业务类型：</label>
                <select id="typeSelect" class="form-text" style="width:60%">
                    <option value="1">云业务</option>
                    <option value="2">IDC业务</option>
                    <option value="2">ICT业务</option>
                    <option value="2">物联网业务</option>
                    <option value="2">大数据业务</option>
                </select>
            </div>
                <div class="form-group col-sm-3">
                    <label style="vertical-align: top;height: 34px;line-height: 34px" >选择日期：</label>
                    <!--指定 date标记-->
                    <div class='input-group date' id='datetimepicker1'  style="width: 70%;display: inline-table">
                        <input type='text' class="form-control" />
                        <span class="input-group-addon">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                    </div>
                </div>
    <!--        搜索-->
    <!--        <input type="text" class="input-medium search-query" />-->
            <button type="button" onclick="search();" class="btn form-btn ">搜索</button>
            <button type="button" onclick="showAddModal();" class="btn form-addincome">新增收入</button>
        </form>
    </div>

    <table id="table"></table>

    <div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">新增收入</h4>
                </div>
                        <div class="control-group">
                            <label style="vertical-align: top;height: 34px;line-height: 34px" >选择日期：</label>
                            <!--指定 date标记-->
                            <div class='input-group date' id='inputAccount'  style="width: 70%;display: inline-table">
                                <input type='text' class="form-control" />
                                <span class="input-group-addon">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="form-text">选择盟市：</label>
                            <select id="inputCity" class="form-text" style="width:60%">
                                <option value="1">呼和浩特</option>
                                <option value="2">包头</option>
                                <option value="3">乌海</option>
                                <option value="4">阿拉善</option>
                            </select>
                        </div>
                        <div class="control-group">
                            <label class="form-text">选择业务类型：</label>
                            <select id="inputType" class="form-text" style="width:60%">
                                <option value="1">云业务</option>
                                <option value="2">IDC业务</option>
                                <option value="2">ICT业务</option>
                                <option value="2">物联网业务</option>
                                <option value="2">大数据业务</option>
                            </select>
                        </div>
                        <div class="control-group">
                            <label class="form-text" for="inputEarnings">财报收入</label>
                            <div class="controls">
                                <input type="text" id="inputEarnings" placeholder="Earnings" onblur="earningChange();">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="inputPassword">关联交易</label>
                            <div class="controls">
                                <input type="text" id="inputPassword" placeholder="Password">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="inputPassword">双计收入</label>
                            <div class="controls">
                                <input type="text"  placeholder="Password">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="inputPassword">双计说明</label>
                            <div class="controls">
                                <input type="text"  placeholder="Password">
                            </div>
                        </div>
                    </form>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" onclick="addForm();" class="btn btn-primary">提交</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>

</div>

<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="/plugins/bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<script src="/plugins/datepicker/js/bootstrap-datepicker.js"></script>
<script src="/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script src="/plugins/bootstrap-select/js/bootstrap-select.js"></script>
<script src="/plugins/bootstrap-table/bootstrap-table.js"></script>
<script src="/plugins/bootstrap-table/bootstrap-table-zh-CN.js"></script>
<script src="/plugins/day/day.js"></script>
<script src="../js/upload.js"></script>
<script src="../js/index.js"></script>
</body>
</html>


